<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8" />
<title>测试</title>

<!-- 引入 Bootstrap -->
   <link   href="../../static/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"></link>
     <!--springboot默认路径-->
   <link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"></link>
<!--自己的样式-->
    <link href="location.css" rel="stylesheet"></link>
    <link href="../../static/location.css" rel="stylesheet"></link>
   <!-- HTML5 Shiv 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
   <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
   <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
   <![endif]-->
   <!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
    <script src="https://code.jquery.com/jquery.js"></script>
    <!-- 包括所有已编译的插件 -->
    <script src="../../static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <!--springboot默认路径-->
    <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>




</head>
<body>
<body >
  <div th:fragment="header" class="header">
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">中电富嘉信息集成平台</a>
        </div>
        <div>
            <ul class="nav navbar-nav">
                <!-- <li ><a href="#">硬件集成</a></li>
                <li><a href="#">软件集成</a></li> -->

                <li th:each="module : ${session.topmodule}"><a href="/system" th:href="@{/system(id=${module.modulename})} " class="active"><span th:text="${module.modulename}">系统管理</span></a></li>

                <li><a href="/index0" th:href="@{/index0} " class="active">报表测试</a></li>
              
                <li shiro:authenticated="true" class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                      <shiro:user>
                      欢迎:<shiro:principal property="username"/>
                      </shiro:user>

                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/loginout">登出</a></li>
                        <li><a href="#">换人</a></li>
                        <li><a href="#">其他</a></li>

                    </ul>
                </li>
            </ul>
          </div>
        </div>
    </nav>
    </div>
</body>
</body>
</html>
